package com.yu.footballpromotionliveadmin.mapper;


import com.yu.footballpromotionliveadmin.pojo.EventRecords;
import com.yu.footballpromotionliveadmin.pojo.EventRecordsExample;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface EventRecordsMapper {

    String getMaxUno();

    int deleteByKey(@Param("erno") String erno);

    int updateByPrimaryKey(@Param("record") EventRecords record);

    long countByExample(EventRecordsExample example);

    int deleteByExample(EventRecordsExample example);

    int insert(EventRecords record);

    int insertSelective(EventRecords record);

    List<EventRecords> getEventRecordsByPage(Map<String, Object> map);

    EventRecords selectByPrimaryKey(@Param("erno") String erno);

    List<EventRecords> selectByExample(EventRecordsExample example);

    int updateByExampleSelective(@Param("record") EventRecords record, @Param("example") EventRecordsExample example);

    int updateByExample(@Param("record") EventRecords record, @Param("example") EventRecordsExample example);
}